package com.thesale.thesaleuser.model;

import com.thesale.thesalemodel.model.SaleParentHis;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


@Entity
@Table(name="SALE_USERNAME_HIS")
@Data
public class SaleUserNameHis extends SaleParentHis {

    @Column(name = "USER_NAME")
    private String userName;

    @Column(name = "PASSWORD")
    private String password;

    @Column(name = "RANK")
    private String rank;

    @Column(name = "PARENT_RRN")
    private Long parentRrn;

    @Column(name = "EMAIL_ADDRESS")
    private String emailAddress;

}
